#!/usr/bin/env bash




# 判断文件夹是否存在
if [ ! -d "cmake-build-debug" ]; then
  mkdir -p "cmake-build-debug"
fi

cd "cmake-build-debug" || exit
rm -rf ./*
#cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" ..
cmake ..

make

cd ..


